package com.zhq.blog.core.domain.game.support;

import javax.persistence.Entity;

import com.zhq.blog.core.domain.BasePersistentDomain;

/**
 * @title:WinnerRecord.java
 * @package com.zhq.blog.core.domain.game.support
 * @author 张恒强
 * @date 2015年1月9日 下午7:21:06
 * @version V1.0
 */
@Entity
public class WinnerRecord extends BasePersistentDomain<WinnerRecordRepository>{
	
	private long userId;
	
	private long gameId;
	
	private long period;
	
	private String username;
	
	private long betmoney;
	
	private long winmoney;
	
	private long profit;
	
	
	

	public WinnerRecord(long userId, String username,long gameId,long period, long betmoney,
			long winmoney, long profit) {
		super();
		this.userId = userId;
		this.username = username;
		this.gameId = gameId;
		this.period = period;
		this.betmoney = betmoney;
		this.winmoney = winmoney;
		this.profit = profit;
	}

	public WinnerRecord() {
		super();
	}

	public long getGameId() {
		return gameId;
	}

	public void setGameId(long gameId) {
		this.gameId = gameId;
	}

	public long getPeriod() {
		return period;
	}

	public void setPeriod(long period) {
		this.period = period;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public long getBetmoney() {
		return betmoney;
	}

	public void setBetmoney(long betmoney) {
		this.betmoney = betmoney;
	}

	public long getWinmoney() {
		return winmoney;
	}

	public void setWinmoney(long winmoney) {
		this.winmoney = winmoney;
	}

	public long getProfit() {
		return profit;
	}

	public void setProfit(long profit) {
		this.profit = profit;
	}
}
